package com.order.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.common.entity.Order;
import com.common.entity.OrderShop;
import com.common.entity.Shop;
import com.order.vo.OrderShopVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xdl
 * @since 2022-09-03
 */
public interface OrderShopMapper extends BaseMapper<OrderShop> {


    IPage<Map> orderShop(Page page,@Param("ew") QueryWrapper<Order> queryWrapper);

    Shop findShopId(String bid);

    IPage<Map> userOrder(Page<Map> page,@Param("ew") QueryWrapper<Map> objectQueryWrapper);

}
